package org.jctc.els.modules.biz.service.projects;

import org.jctc.els.modules.biz.entity.projects.ElsProjectFiles;
import org.jctc.els.modules.biz.entity.projects.ElsProjectFilesCategory;
import org.springblade.core.mp.base.BaseService;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface ElsProjectFilesService extends BaseService<ElsProjectFiles> {

    List<ElsProjectFiles> listByProjectFiles(Long projectId);

    List<ElsProjectFilesCategory> selectCateList(Integer projectCategory);

    List<ElsProjectFiles> selectList(@RequestParam("projectId") Long projectId,
                                     @RequestParam("categoryId") Long categoryId);

    Integer delete(Long id);
}
